<%@ page language="java" pageEncoding="UTF-8"%>
<%@ page import="com.roadmap.struts.action.PagingInfo"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="pragma" content="no-cache"/>
<meta http-equiv="cache-control" content="no-cache"/>
<meta http-equiv="expires" content="0"/> 
<link href="res/css/layout.css" rel="stylesheet" type="text/css" media="all" />
<link href="res/css/auth.css" rel="stylesheet" type="text/css" media="all" />
<script type="text/javascript" src="res/js/auth.js"></script>
<script type="text/javascript" src="res/js/func.js"></script>
<title>测试 | roadmap</title>
</head>

<% 
int n = 1;
String num = (String) request.getParameter("p");
if(num != null) {
	try {
		n = Integer.valueOf(num);
	}
	catch (Exception e) {
		n = 1;
	}
}
PagingInfo pagingInfo = new PagingInfo(request, n, 300);
request.setAttribute("pagingInfo", pagingInfo);
%>

<body>
<div id="container">
	<jsp:include page="/pagelet/pagingBarPagelet.jsp"/>
	<div style="width:100px;height:20px;border:1px solid blue;"></div>
</div>

<script type="text/javascript">
	//alert(RDC.util.verifyInteger("112"));
	/*
	var flag = RDC.util.verifyMail("mail");	
	alert(flag);
	flag = RDC.util.verifyMail("mail@12");	
	alert(flag);
	var mail = "	mail@123.com";
	flag = RDC.util.verifyMail(mail);	
	alert(flag);
	alert(RDC.util.trimSpaces(mail));
	*/
	//alert(RDC.util.verifyPassword("11_1a111vf"));
</script>	
<br /></body>

</html>
